package com.ims.core.doc.domain;

import com.ims.common.annotation.Excel;
import com.ims.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 签收增值税发票明细项对象 t_in_checkin_invoice_entry
 *
 * @author IMS
 * @date 2024-07-24
 */
public class TInCheckinInvoiceEntry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 开票项ID */
    @Excel(name = "开票项ID")
    private String entryId;

    /** 发票ID */
    @Excel(name = "发票ID")
    private Long invoiceId;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String custId;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String siteCode;

    /** 公司 */
    @Excel(name = "公司")
    private String siteName;

    /** 项目编码 */
    @Excel(name = "项目编码")
    private String productCode;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String productName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String specificatCode;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal qty;

    /** 单价(不含税) */
    @Excel(name = "单价(不含税)")
    private BigDecimal withoutPrice;

    /** 金额(不含税) */
    @Excel(name = "金额(不含税)")
    private BigDecimal withoutAmount;

    /** 税率 */
    @Excel(name = "税率")
    private BigDecimal taxRate;

    /** 税额 */
    @Excel(name = "税额")
    private BigDecimal tax;

    /** 单价(含税) */
    @Excel(name = "单价(含税)")
    private BigDecimal price;

    /** 金额(含税) */
    @Excel(name = "金额(含税)")
    private BigDecimal amount;

    /** 添加人 */
    @Excel(name = "添加人")
    private String createName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEntryId(String entryId)
    {
        this.entryId = entryId;
    }

    public String getEntryId()
    {
        return entryId;
    }
    public void setInvoiceId(Long invoiceId)
    {
        this.invoiceId = invoiceId;
    }

    public Long getInvoiceId()
    {
        return invoiceId;
    }
    public void setCustId(String custId)
    {
        this.custId = custId;
    }

    public String getCustId()
    {
        return custId;
    }
    public void setSiteCode(String siteCode)
    {
        this.siteCode = siteCode;
    }

    public String getSiteCode()
    {
        return siteCode;
    }
    public void setSiteName(String siteName)
    {
        this.siteName = siteName;
    }

    public String getSiteName()
    {
        return siteName;
    }
    public void setProductCode(String productCode)
    {
        this.productCode = productCode;
    }

    public String getProductCode()
    {
        return productCode;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setSpecificatCode(String specificatCode)
    {
        this.specificatCode = specificatCode;
    }

    public String getSpecificatCode()
    {
        return specificatCode;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setQty(BigDecimal qty)
    {
        this.qty = qty;
    }

    public BigDecimal getQty()
    {
        return qty;
    }
    public void setWithoutPrice(BigDecimal withoutPrice)
    {
        this.withoutPrice = withoutPrice;
    }

    public BigDecimal getWithoutPrice()
    {
        return withoutPrice;
    }
    public void setWithoutAmount(BigDecimal withoutAmount)
    {
        this.withoutAmount = withoutAmount;
    }

    public BigDecimal getWithoutAmount()
    {
        return withoutAmount;
    }
    public void setTaxRate(BigDecimal taxRatece)
    {
        this.taxRate = taxRate;
    }

    public BigDecimal getTaxRate()
    {
        return taxRate;
    }
    public void setTax(BigDecimal tax)
    {
        this.tax = tax;
    }

    public BigDecimal getTax()
    {
        return tax;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setAmount(BigDecimal amount)
    {
        this.amount = amount;
    }

    public BigDecimal getAmount()
    {
        return amount;
    }
    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getCreateName()
    {
        return createName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("entryId", getEntryId())
            .append("invoiceId", getInvoiceId())
            .append("custId", getCustId())
            .append("siteCode", getSiteCode())
            .append("siteName", getSiteName())
            .append("productCode", getProductCode())
            .append("productName", getProductName())
            .append("specificatCode", getSpecificatCode())
            .append("unit", getUnit())
            .append("qty", getQty())
            .append("withoutPrice", getWithoutPrice())
            .append("withoutAmount", getWithoutAmount())
            .append("taxRate", getTaxRate())
            .append("tax", getTax())
            .append("price", getPrice())
            .append("amount", getAmount())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
